<div class="salarios form">
<?php echo $this->Form->create('Salario');?>
	<fieldset>
	 		<legend><?php __('Agregar Salario'); ?></legend>
	<?php
		echo $this->Form->input('persona_id');
		echo $this->Form->input('fl_actualiza', array('label'=>'Fecha de Actualizacion','readonly' => 'readonly'));
		echo $this->Ajax->datepicker('SalarioFlActualiza', array(
															'dateFormat' => 'dd/mm/yy',
															'changeYear' => true,
															'changeMonth' => true,
														));



		echo $this->Form->input('mt_salario', array('label'=>'Sueldo Asignado'));
		echo $this->Form->input('bn_vacaciones', array('label'=>'Bono Vacacional'));
		echo $this->Form->input('vacaciones', array('label'=>'Vacaciones'));
		echo $this->Form->input('utilidades', array('label'=>'Utilidades'));
		echo $this->Form->input('bn_celular', array('label'=>'Bono Celular'));
		echo $this->Form->input('pr_experiencia', array('label'=>'Prima por Experiencia Profesional'));
		echo $this->Form->input('bn_alimentacion', array('label'=>'Bono Alimentacion'));
		echo $this->Form->input('educacion', array('label'=>'Educacion'));
		echo $this->Form->input('bn_estaciona', array('label'=>'Bono Estacionamiento'));
	?>
	</fieldset>

<?php echo $this->Form->submit(__('Agregar', true), array('div'=>false, 'name'=>'submit'));?>
<?php echo $this->Form->submit('Cancelar', array('div'=>false, 'name'=>'cancelar')); ?>
<?php echo $this->Form->end();?>

<br>
</div>
<div class="actions">
	<h3><?php __('Acciones'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('Lista de Salarios', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('Lista de Personas', true), array('controller' => 'personas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Agregar Persona', true), array('controller' => 'personas', 'action' => 'add')); ?> </li>
	</ul>
</div>